package com.example.demo.web.rest.evt;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;

/**
 * @Author zhengmf
 * @Date 2019/3/6  17:27
 */
@ApiModel("文章目录关系参数")
public class ArticleCatalogIdEvt {
    @ApiModelProperty("目录ID")
    @NotNull
    private Long catalogId;
    @ApiModelProperty("文章ID")
    @NotNull
    private Long articleId;

    public Long getCatalogId() {
        return catalogId;
    }

    public void setCatalogId(Long catalogId) {
        this.catalogId = catalogId;
    }

    public Long getArticleId() {
        return articleId;
    }

    public void setArticleId(Long articleId) {
        this.articleId = articleId;
    }

    @Override
    public String toString() {
        return "ArticleCatalogIdEvt{" +
            "catalogId=" + catalogId +
            ", articleId=" + articleId +
            '}';
    }
}
